

// http://v.bootstrapmb.com/2020/8/kxifo8639/vendors/images/deskapp-logo.svg


import React from 'react'
import { Spin } from "antd"


const Loading = (msg: String = "loading...") => {
  return (

    <div style={{ width: "100%", height: "100%", display: "flex", justifyItems: "center", alignItems: "center", zIndex: "1000", background: "#fff" }}>

      <div style={{ width: 100, height: 150, marginLeft: "47%", textAlign: "center" }}>
        {/* <p>   <img src="http://v.bootstrapmb.com/2020/8/kxifo8639/vendors/images/deskapp-logo.svg" alt="" /></p> */}
        <Spin tip={msg} size="large" spinning={true}></Spin>
      </div>
    </div>

  )
}


export default Loading